package com.prs.crm.dao.purchase.impl;

import java.io.Serializable;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.purchase.PaymentDetailDao;
import com.prs.crm.domain.purchase.PaymentDetails;

public class PaymentDetailDaoImpl extends BaseDaoImpl<PaymentDetails> implements
		PaymentDetailDao {

	@Override
	public PaymentDetails getPaymentDetail(Serializable id) {
		
		return this.getHibernateTemplate().get(PaymentDetails.class, id);
	}

	@Override
	public void saveOrUpdate(PaymentDetails paymentDetail) {
		this.getHibernateTemplate().saveOrUpdate(paymentDetail);
	}



}
